@import "commonvars";

@import "codemirror";
@import "modal";
@import "editor";
@import "editor-theme";
@import "ansi";
@import "tooltip";
@import "metals-status-indicator";
@import "markdown";
@import "treesitter-syntax-highlight";

@include editor();

@mixin sharedStyles($class) {
  .scastie {
    .app.#{$class} {
      @include modal($class);
      @include editorTheme($class);
      @include treesitterSyntaxHighlight($class);
      @include tooltip($class);
      @include metalsStatusIndicator($class);
      @include markdown($class);


    }
  }
}

@import "dark-style";
@import "light-style";
